package com.zhou.message.dao;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lang.zhou
 * @since 2023-03-01
 */
@Data
@TableName("sys_message_template_receiver")
public class MessageTemplateReceiver implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @TableField("TEMPLATE_ID")
    private Integer templateId;

    @TableField("ORGID")
    private Integer orgId;

    @TableField("ORG_TYPE")
    private Integer orgType;

    @TableField("USER_ID")
    private Integer userId;

    @TableField(exist = false)
    private String orgName;


}
